Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linter errors on cosmos-sdk upgrade branch #2303

Merged
merged 15 commits into from
Dec 19, 2024

Conversation

fridrik01
Copy link
Contributor

No description provided.

@fridrik01 fridrik01 self-assigned this Dec 19, 2024
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 14 lines in your changes missing coverage. Please review.

Project coverage is 31.02%. Comparing base (f0b9432) to head (4eedd80).
Report is 1 commits behind head on replace-berachain-cosmos-sdk-point-local-repo-2.

Files with missing lines Patch % Lines
node-core/components/depinject.go 58.33% 10 Missing ⚠️
cli/commands/server/start.go 0.00% 3 Missing ⚠️
node-core/components/signer/signer.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                                 Coverage Diff                                 @@
##           replace-berachain-cosmos-sdk-point-local-repo-2    #2303      +/-   ##
===================================================================================
+ Coverage                                            21.17%   31.02%   +9.85%     
===================================================================================
  Files                                                    3      333     +330     
  Lines                                                   85    15422   +15337     
  Branches                                                20       20              
===================================================================================
+ Hits                                                    18     4785    +4767     
- Misses                                                  66    10311   +10245     
- Partials                                                 1      326     +325     
Files with missing lines Coverage Δ
cmd/beacond/defaults.go 0.00% <ø> (ø)
node-core/components/signer/signer.go 0.00% <0.00%> (ø)
cli/commands/server/start.go 0.00% <0.00%> (ø)
node-core/components/depinject.go 56.00% <58.33%> (ø)

... and 326 files with indirect coverage changes

fridrik01 and others added 11 commits December 19, 2024 15:42
Since newest cometbft defaults to timeout_commit of 0 we always
default to that in our config.toml file as this code is generated
by cosmossdk init function handler.

To fix this properly I need to figure out how to pass in the config
as context value to the cobra.command as a viper instance.

Until then putting this error here as to preventing us forgetting
to set it to the correct time_commit (which I assume will be 1sec)
@fridrik01 fridrik01 marked this pull request as ready for review December 19, 2024 20:27
@calbera calbera merged commit 706c91e into replace-berachain-cosmos-sdk-point-local-repo-2 Dec 19, 2024
15 checks passed
@calbera calbera deleted the fix-linter branch December 19, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants